package com.unitech.order.dao.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "t_order_drink")
public class OrderDrink implements Serializable {
    @Column(name = "order_id")
    private String orderId;

    @Column(name = "items_id")
    private Long itemsId;

    @Column(name = "items_price")
    private BigDecimal itemsPrice;

    @Column(name = "items_quantity")
    private Integer itemsQuantity;

    @Column(name = "items_total")
    private BigDecimal itemsTotal;

    private static final long serialVersionUID = 1L;
}